package com.liujit.bms.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liujit.bms.app.domain.model.BlogMember;
import com.liujit.bms.app.domain.params.BlogMemberParams;

/**
 * @Description 博客会员Service
 * @Author liujun
 * @Date 2021-07-13 11:10:50
 */
public interface BlogMemberService extends IService<BlogMember> {

    /**
     * 根据博客会员添加/修改请求参数，添加/修改博客会员
     *
     * @param params 博客会员添加/修改请求参数
     * @return 添加/修改结果
     * @author: liujun
     * @date: 2021-07-13 11:10:50
     */
    BlogMember save(BlogMemberParams params);

    /**
     * 根据博客会员openId，查询博客会员
     *
     * @param openId 博客会员openId
     * @return 查询结果
     * @author: liujun
     * @date: 2021-07-13 11:10:50
     */
    BlogMember getByOpenId(String openId);
}
